Part Number Hot Search : 
16C40 T200XW01 HD66740 04021 HMC341 T2907A 28000 1N6469US
Product Description
Full Text Search
 

To Download TRC104 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 1 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 key features ? modulation: gfsk with frequency hopping spread spectrum capability ? frequency range: 2401-2527 mhz ? 127 channels ? high sensitivity: -95 dbm @ 250 kb/s ? high data rate: up to 1 mb/s ? low current consumption - receive current: 18 ma transmit current: 13 ma @ 0 dbm ? up to 1 mw transmit power ? wide operating supply voltage: 1.9 to 3.6 v ? low sleep current: 0.4 a ? integrated pll, if and base-band circuitry ? integrated data & clock recovery ? programmable rf output power ? 32-byte transmit/receive fifo ? programmable tx/rx fifo depth ? continuous & protocol modes ? packet destination and sender addressing ? packet handling features - packet address filtering error detection ? spi configuration & data interface ? ttl/cmos compatible i/o pins ? low-cost crystal reference ? integrated rssi ? integrated crystal oscillator ? host microcontroller interrupt outputs ? programmable data rate ? integrated 16-bit packet crc ? integrated dc-balanced data scrambling ? integrated voltage regulators ? four power-saving operating states ? very low external component count ? small plastic package: 24-pin qfn ? standard 13 inch reel, 3k pieces applications ? wireless keyboards ? wireless mice ? wireless game controllers ? wireless headsets ? wireless toys ? active rfid tags ? security systems ? two-way remote keyless entry ? automobile immobilizers ? sports and performance monitoring ? low power two-way telemetry systems ? wireless modules TRC104 2.4 ghz rf transceiver product overview TRC104 is a single chip, multi-channel, low power rf transceiver. it is an ideal fit for low cost, high volume, two-way short range wireless applications operating in the worldwide unlicensed 2.4 ghz ism band. the TRC104 is fcc & etsi certifiable. all critical rf and base-band functions are integrated in the TRC104, minimizing external component count and simplifying design- in. only a microcontroller, crystal and several passive components are needed to create a complete, robust radio function. the TRC104 includes a set of low-power states to reduce overall current consumption and extend battery life. the small size and low power requirements of the TRC104 make it ideal for a wide variety of short range radio applications. the TRC104 complies with directive 2002/95/ec (rohs). pb
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 2 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 table of contents 1 pin configuration............................................................................................................ ............................ 4 1.1 pin description........................................................................................................... ....................... 4 2 electrical characteristics ................................................................................................... ......................... 5 2.1 dc electrical characteristics ............................................................................................. ............... 5 2.2 ac electrical characteristics ............................................................................................. ............... 6 3 architecture ................................................................................................................. ............................... 8 3.1 rf port................................................................................................................... ........................... 8 3.2 transmitter power amplifier ............................................................................................... .............. 8 3.3 pll....................................................................................................................... ........................... 10 3.4 crystal oscillator........................................................................................................ ..................... 10 3.5 on-chip regulators ........................................................................................................ ................. 11 3.6 receiver.................................................................................................................. ........................ 11 3.7 rssi ..................................................................................................................... .......................... 11 4 operating modes .............................................................................................................. ........................ 12 4.1 sleep mode................................................................................................................ ..................... 12 4.2 stop mode................................................................................................................. ...................... 13 4.3 standby mode.............................................................................................................. ................... 13 4.4 configuration mode ........................................................................................................ ................ 13 4.5 transmit/receive mode..................................................................................................... ............. 13 5 data transfer modes.......................................................................................................... ...................... 14 5.1 continuous data modes.................................................................................................... ............. 14 5.1.1 continuous transmit mode ............................................................................................... .... 14 5.1.2 continuous receive mode ................................................................................................ .... 14 5.2 burst packet modes........................................................................................................ ................ 15 5.2.1 burst transmit mode .................................................................................................... ......... 15 5.2.2 burst receive mode ..................................................................................................... ......... 16 6 burst packet mode configuration .............................................................................................. .............. 17 6.1 fifo configuration ........................................................................................................ ................. 18 6.2 preamble configuration .................................................................................................... .............. 18 6.3 addressing ................................................................................................................ ...................... 18 6.3.1 sender (local device) address .......................................................................................... .. 18 6.3.2 destination address .................................................................................................... .......... 18 6.4 dc-balanced scrambling .................................................................................................... ........... 18 6.5 crc error detection ...................................................................................................... ................ 19 7 serial interface ............................................................................................................. ............................ 19 7.1 configuration registers access............................................................................................ .......... 20 7.2 transmit/receive fifo access .............................................................................................. ........ 21 8 configuration registers ..................................................................................................... ...................... 21 8.1 t/r mode and channel frequency control.................................................................................... 22 8.2 transmit power and crystal frequency control............................................................................. 2 2 8.3 data function control..................................................................................................... ................ 23 8.4 rssi function control ..................................................................................................... ............... 23 8.5 rssi value ................................................................................................................ ..................... 24 8.6 data format control ....................................................................................................... ................ 24 8.7 preamble control .......................................................................................................... .................. 25 8.8 transmitter rise/fall time control ........................................................................................ ......... 25 8.9 address length control .................................................................................................... .............. 26 8.10 destination address...................................................................................................... ................ 26 8.11 sender (local device) address ............................................................................................ ........ 27 8.12 reserved................................................................................................................. ...................... 27
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 3 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 8.13 pll turn-on control ....................................................................................................... .............. 27 8.14 pll lock time control .................................................................................................... ............. 28 8.15 reserved................................................................................................................. ...................... 28 8.16 option control........................................................................................................... .................... 28 8.17 reserved................................................................................................................. ...................... 28 8.18 default overrides for enhanced performance.............................................................................. 2 8 9 configuration example ........................................................................................................ ..................... 29 9.1 burst packet mode initialization.......................................................................................... ............ 29 9.2 burst packet transmission ................................................................................................. ............ 31 9.3 burst packet reception .................................................................................................... .............. 31 10 burst packet mode serial port message examples .............................................................................. 32 10.1 destination address from configuration registers, no sender address ..................................... 32 10.2 destination address written by host, no sender address .......................................................... 32 10.3 destination and sender addresses from configuration registers ............................................... 32 10.4 destination address written by host, sender address from configuration register................... 32 11 package dimensions.......................................................................................................... .................... 33
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 4 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 1 pin configuration         
                  
                   
   
      
                                        
               
                     ! "  #  " $ figure 1 1.1 pin description pin type name description 1 i mode operating mode select input - used with pmode and cs 2 i/o sclk serial clock input for burst mode, serial data output for continuous mode, and spi/fifo clock signal 3 i/o sdat serial data input/output for spi mode and tx/rx active mode 4 i cs spi serial interface select, active high 5 vccd external digital power input, 3.0 v typical 6 gndd digital ground 7 vddd regulated digital output voltage 8 o xtlout crystal oscillator output 9 i xtlin crystal oscillator input 10 i pmode power mode select input - used with mode to select standby or sleep mode 11 gndvco vco ground pin 12 vccvco external vco power input , 3.0 v typical 13 vddrf regulated supply output for rf power amplifier 14 rfio rf+ differential rf i/o pin 15 rfio rf- differential rf i/o pin 16 gndrf rf ground 17 vccrf external rf power input, 3.0 v typical 18 gndif if ground 19 o rssia analog rssi output - continuous mode only 20 nc no connection - not used 21 o int transmit or receive complete interrupt output 22 o rssid rssi threshold interrupt output 23 nc no connection - not used 24 nc no connection - not used p - die pad ic die pad on bottom of package - ground table 1
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 5 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 2 electrical characteristics absolute maximum ratings symbol parameter notes min max units vcc supply voltage -0.4 +3.6 v t stg storage temperature -55 +125 c rf in rf input level 0 dbm table 2 recommended operating range symbol parameter notes min max units vcc supply voltage +1.9 +3.6 v t op operating temperature -40 +85 c table 3 2.1 dc electrical characteristics minimum/maximum values are valid over the recommended operating range vcc = 1.9-3.6 v. typical conditions: t o = 25c; v cc = 3.3 v. the electrical specifications given below are valid when using an rfm xtl1021 or equivalent crystal. parameter sym notes min typ max units test conditions sleep mode current i sl 0.4 a stop mode current i st 1.4 a standby mode current i sb crystal oscillator running 22 a 16 mhz crystal configuration mode current i cm crystal oscillator running 15 ma 250 kb/s 18 receiver mode current i rx 1 mb/s 19 ma pout = 0 dbm 13 transmitter mode current i tx pout = -10 dbm 9 ma rssi analog output level 500 1500 mv digital input low level v il -0.4 0.8 v digital input high level v ih 0.7*vcc vcc+0.4 v digital input current low i il 1 a v il = 0 v digital input current high i ih 1 a v ih = vcc digital output low level v ol - 0.4 v i ol = -1 ma digital output high level v oh vcc-0.4 - v i oh = +1 ma table 4
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 6 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 2.2 ac electrical characteristics minimum/maximum values are valid over the recommended operating range vcc = 1.9-3.6 v. typical conditions: t o = 25 c; v cc = 3.3 v. the electrical specifications given below are valid when using an rfm xtl1021 or equivalent crystal. receiver parameter sym notes min typ max units test conditions rf input impedance 200 ohms differential rf input power 0 dbm receiver bandwidth 1.5 mhz 250 kb/s -95 10 -3 ber receiver sensitivity 1 mb/s -90 dbm 10 -3 ber 250 kb/s 9 blocking immunity 1 mb/s 5 db 1 mhz offset, unmodulated 250 kb/s -20 co-channel rejection 1 mb/s 1 db 250 kb/s -26 image rejection 1 mb/s -26 db fsk bit rate 250 1000 kb/s nrz rssi accuracy 4-bit value 3 db rssi dynamic range 40 db table 5 transmitter parameter sym notes min typ max units test condition rf output impedance 200 ohms differential rf output power 0 dbm rf output power range -20 0 dbm programmable 2 nd adjacent channel power 2 mhz channel offset -20 dbm 1 mb/s data rate, 0 dbm tx power 3 rd adjacent channel power 3 mhz channel offset -40 dbm 1 mb/s data rate, 0 dbm tx power 2 nd harmonic -54 dbm 0 dbm tx power 3 rd harmonic -46 dbm 0 dbm tx power fsk deviation 160 khz fixed for both data rates 20 db modulation bw 1 mhz table 6
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 7 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 table 7 table 8 timing parameter sym notes min typ max units test condition tx to rx switch time oscillator & pll running 200 s rx to tx switch time oscillator & pll running 200 s sleep to receive serial command to rx bit 120 ms sleep to transmit serial command to tx bit 120 ms sleep to stop mode 120 ms stop to standby mode 1.5 ms standby to receive oscillator running 200 s standby to transmit oscillator running 200 s frequency hop time channel switching time 200 s transmit rise/fall time 10/5 s/step programmable rssi rise time 10 mv/s no external filter capacitor pll characteristics parameter sym notes min typ max units test condition crystal oscillator frequency 4 16 20 mhz pll lock time settling to less than 10 khz 170 s pll step resolution 1 mhz crystal load capacitance 12 pf crystal oscillator start time 1.5 ms from sleep mode frequency range 2401 2527 mhz
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 8 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 3 architecture the TRC104 is a single-chip fsk transceiver that operates in the worldwide 2.4 ghz ism band. the TRC104 ? s highly integrated architecture requires a minimum of external components. advanced features including the tx/rx fifo and the burst packet data mode significantly reduce the TRC104 ? s load on the host microcontroller. as shown in figure 2, the TRC104 utilizes a dual-conversion superheterodyne receiver architecture with an image-reject second mixer. the vco operates directly at the output frequency when transmitting, and is modulated by a gaussian-filtered bit stream.      %        %  &     " " $   '   !  ( ! #    ) $    (  (  *  ' " + ,   + " -  ! .  ( /   !  0    + .     +  " !        +  " !       ) )  !    ) $ 1   )    !   -  2  3 .  4   +   -  ! 5 (  2  $ ( / /   '   !      ( '  ( /   #   '   !    ' " + , 6  "   ! " ' 6  "  7  #   #  /   ! / (  2       "   ! ) $                   5 ' " + ,    ( # ! ( )
(  / /  (   "   $ ( / /   '   !   -  2  3 .       +  (  (  ' " + ,    (  (    ' " + ,   7   !  0    + .      " ) $ '  8      '   !  "   ! ) $   #  ' (  " !                                        !  0    + .    '  +  ) $ '    2    "   ! " ' figure 2 3.1 rf port the TRC104 has a differential rf port that is capable of delivering the required transmitter output power at low supply voltages. the differential rf port also provides common mode signal rejection to enhance receiver interference immunity. a simple l-c balun can be used to convert the differential port to a single-ended output to drive an unbalanced antenna, as shown in figure 3. 3.2 transmitter power amplifier the power amplifier controls the output power level of the transmitter. the power amplifier has four programmable power levels. the power level is set by the pwr bits in configuration register 0x01.
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 9 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09                                     
  
        9   $   :   9   $  : 9 ;   < = 9 >   < % %  $  % %  $  % %             :        % %  $             >   < ? % %  $  % %  $ 
  
                  9   @         
      :     % %  $    9   @       < " /    + ! " + "   ! " ' '  !       $ $ '  + (   "     ! +             
figure 3 for burst transmit mode, the TRC104 rf output ramp-up and ramp-down times are configurable, controlling excessive transmitter bandwidth due to fast rise and fall times of the transmitter rf envelope. after the pll is locked for transmission, the power amplifier is ramped up stage by stage beginning with the lowest power level until the power level that is specified by the pwr bits in register 0x01 is reached. once the transmission is complete, the power amplifier is ramped down stage-by-stage until it is completely disabled. the ramp-up/ramp-down function increases or decreases the output power stage-by-stage as specified by the pa_ru and pa_rd bits of register 0x07, respectively. figure 4 shows the timing for the ramp-up/ramp-down.     (  (  ! (  / )  / /  "   "   !  ) $ '  7   !   ( ) $   $ 1  "     )   #                      "   !  (  (  %   2 5     2 5  =  2 5                                                !    "                 "         !            #  $   % &   '       figure 4
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 10 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 3.3 pll the pll channel is set with the ch_num bits in configuration register 0x00. in transmit mode, the pll is normally turned on with the falling edge of the mode input. the TRC104 transmits the data after the pll locks and the power amplifier has ramped up to its programmed level. pll lock time is typically 170 s. it is possible to enable and lock the pll before the falling edge of mode input. this can provides a shorter transition time to transmit. the pll pre-start delay time is adjustable from 20 s up to 5 ms. the value of pll_on in register 0x14 sets this time. the pre-start delay timer is triggered on the rising edge of mode as shown in figure 5. the value of pll_on determines the delay time from the rising edge of mode before the pll is enabled. care must be taken to carefully calculate the write time of the data packet into the transmit fifo so that the TRC104 does not enable the transmitter and begin sending data before the data packet is fully written to the fifo, in which case the TRC104 will discard the current packet.      !   /  ( !    )   #         
   a           (    (  (                        (  (  ! (  / )  / /  "  " ( )  *      + ,    -    '      !   figure 5 3.4 crystal oscillator at the 1 mb/s rf data rate, the TRC104 uses a 16 mhz crystal. at the 250 kb/s rf data rate, the TRC104 can use any one of five standard crystal frequencies: 4, 8, 12, 16, or 20 mhz. the crystal frequency is configured by setting the fxtal bits in register 0x01. at the 250 kb/s data rate, the TRC104 ? s power consumption is reduced by using one of the lower crystal frequencies. the total load capacitance c l seen between the xtlin and xtlout terminals is composed primarily of c in and c out in series, as shown if figure 6: c l = 1/((1/c in ) + (1/c out ) ) + c stray , where c stray is the capacitance associated with the pcb layout                     ! . /  ( '   / +  ' ' (  " !   ) $ '  )    (   "  figure 6 a typical value for c stray is 1 pf. the values of c in and c out should be approximately equal and chosen so that c l matches the load capacitance specified for the crystal. a typical c l value for a 16 mhz crystal is 12 pf. the
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 11 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 maximum recommended value for c l is 20 pf. the required crystal frequency tolerance for the TRC104 is 30 ppm maximum including temperature and aging drift. a typical esr for the crystal is 35 ohms, and the maximum static capacitance is 7 pf. rfm recommends the 16 mhz xtl1021 for use with the TRC104. 3.5 on-chip regulators the TRC104 has on-chip regulators used to power the vco, the digital circuitry, and for biasing of the rf port. power pins with a vcc designation are external power inputs to the on-chip regulators. power pins with a vdd designation are regulated power outputs that are filtered by external capacitors or are used to power external TRC104 functions. 3.6 receiver as shown in figure 2, the TRC104 receiver chain starts with a 2.4 ghz differential input lna, followed by an on- chip 2.4 ghz band-pass filter. the output of the band-pass filter drives the first mixer, which converts the rf input to the first if frequency. the output of the first mixer is applied to the second-conversion i and q mixers, which are driven by i and q lo signals 1/8 the frequency of the first lo. the outputs of the i and q mixers are processed by a 5 mhz complex if filter, which provides both band-pass filtering and hilbert transform phasing between the i and q channels. the phased i and q channels are summed, nulling the unwanted image response. the output from the complex if filter is applied to a limiting if amplifier, which also generates inter-stage outputs that drive the rssi signal summer. the limited output from the if amplifier drives an fsk detector. the fsk detector output is applied to a data slicer and then a data and clock recovery circuit. the recovered data and clock signals are processed by the TRC104 control logic according to the receiver mode of operation. 3.7 rssi the rssi signal is an indication of received signal strength. a diagram of the rssi implementation is shown in figure 7. once the rssi signal is enabled by setting the rssia_rfsh bit of register 0x03 to 1, the TRC104 will begin to detect the strength of incoming signals. the rssia pin outputs an analog voltage corresponding to the strength of the received signal. once the rssi sample is complete, the rssia_rfsh bit resets to 0. any reading of the rssia pin or rssid pin should be taken after the rssia_rfsh bit resets to 0.         
          ) )  !    ) $ 1   )    !     <  
     
                     ) $ '  )    (   "      '   !        +  " !          figure 7 the analog rssi signal is applied to an adc to obtain a digital rssi value, rssid. the digital value is stored in the rssi_val of register 0x04. the rssi covers two ranges of signal strength, based on the state of the rssi_g bit in configuration register 0x04. if rss_g is 0, the rssi covers the received signal strength range of -95 to
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 12 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 -42 dbm. if rss_g is 1, the rssi covers the received signal strength range of -55 to -2 dbm. the rssid value is also compared to the rssi_thr threshold value of register 0x03. if the digital value is greater than the threshold value, the rssid pin is asserted according to the configuration of the lvldrssi bit of register 0x17. if the lvldrssi bit is set to 1, the rssid pin is asserted high, otherwise the pin is asserted low. the output state of the rssid pin is disabled while mode is asserted. the rssi function is only available in continuous mode, as discussed below. 4 operating modes the TRC104 can operate in one of five modes: sleep, stop, stand-by, configuration or active tx/rx. figure 8 details the state transitions between the operating modes.  '   $   " $   (  2 3 .  1    "  7  #        $  ! (    #   " 2     (      ( # ! ( ) figure 8 there are three input pins that determine the operating mode for the TRC104. the states of these pins are shown in table 9 and associated timing diagrams are provided in the sections below where needed. pin state operating mode pmode cs mode sleep mode 0 x 1 stop mode 0 0 0 standby mode 1 0 0 configuration mode 1 1 0 transmit load/receive mode 1 0 1 burst transmit 1 0 1 0 x ? don ? t care table 9 4.1 sleep mode sleep mode provides the lowest TRC104 current consumption, typically less than 0.4 a. no serial transactions can occur while in sleep mode. the contents of the fifo and the internal configuration registers are not maintained in sleep mode. when waking from sleep mode the TRC104 executes a power-up reset, which takes 120 ms. any operation to the TRC104 must wait until the reset period is complete. following a sleep cycle, configuration registers must be rewritten to utilize operating parameters other than the power on default settings. figure 9 demonstrates the states of the mode control pins and the timing related to sleep mode. for minimum current consumption, hold the sdat, sclk, int and rssid pins low in this mode. 100k pull-down resistors can be used for this purpose.
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 13 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09  '   $   " 2    "  7  #  ! (  "    )   #        '   $   " 2    /    %   ) /      figure 9 4.2 stop mode in stop mode the contents of the TRC104 configuration registers are maintained, and the digital voltage regulator and parts of the digital circuitry are enabled. the remaining digital and analog circuitry is disabled to minimize current consumption, which is typically 1.4 a. no serial transaction can occur in stop mode. the typical turn-on time from stop mode is 1.5 ms. any operation to the TRC104 must wait until the turn on period is complete. figure 10 demonstrates the states of the mode control pins and the timing related to stop mode.   " $   " 2    "  7  #  ! (  "    )   #        .    ,        " $   " 2  figure 10 4.3 standby mode stand-by mode is a low current mode that provides a very low transition time to configuration, transmit or receive modes. in standby mode circuit blocks that are not being utilized are shutdown to minimize current usage. when the TRC104 is set to transmit, receive or configuration mode, there is no start-up delay and the next action may occur immediately. the power consumption of standby mode is dictated mainly by the crystal frequency used. 4.4 configuration mode configuration mode allows access to the TRC104 ? s configuration registers. serial data is applied to the sdat pin and serial clock is applied to the sclk pin. see section 5 for additional details. 4.5 transmit/receive mode this mode is enabled to load the transmit fifo or receive data. the mode function, transmit or receive, is set before enabling this mode. the mode function is selected by the c_mode bit in configuration register 0x00. see section 5 for descriptions and timing of the various data transfer modes.
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 14 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 5 data transfer modes the TRC104 supports two data transfer modes - continuous data mode and burst data mode. the data transfer mode is selected by the d_mode bit in configuration register 0x02. 5.1 continuous data mode continuous data mode is selected when the d_mode bit of register 0x02 is set to 0. continuous receive mode routes demodulated data directly to the sdat pin and the associated clock to the sclk pin. in continuous transmit mode the data bit stream is applied directly to the sdat pin. the internal fifos and the automatic packet features are disabled in continuous data mode. it is the responsibility of the TRC104 host microcontroller to handle these functions. 5.1.1 continuous transmit mode continuous transmit mode is enabled when the c_mode bit of register 0x00 is set to 1 and the d_mode bit of register 0x02 is set to 0. in continuous transmit mode, the transmit fifo and all automatic packet features including preamble generation, addressing, dc-balanced data scrambling and crc generation are disabled. the TRC104 host microcontroller must handle these functions for continuous transmit mode. specifically, the host microcontroller must generate a 1-0-1-0 ? preamble sequence of at least 16 bits followed immediately by the destination address for the transmission (called the sender or local device address at the destination node). also for this mode, it is the responsibility of the host microcontroller to maintain correct bit timing to an accuracy of 1% as there is no bit clock output for transmit timing. the host microcontroller must be powerful enough to accurately support the selected serial data rate (250 kb/s or 1 mb/s) in addition to other functions required for the end application. figure 11and table 10 show the timing for transmitting data on sdat. note that three 1 dummy bits must be sent prior to sending the preamble and the rest of the packet.  "      "  /   " 2   ! (  / )     )   # /        /   !  ( ) 3 '  1 2 2 !  / / 1  (  (  5   / /    ) ) .   ) ) .   ) ) . figure 11 item description min typ max unit t1 mode to 1 st bit time 250 s t2 dummy bits 3 bit t3 rf transmission time 4 ms table 10 the TRC104 should not be active for more than 4 ms at a time to allow for internal auto-calibration. typical calibration time is 200 s. 5.1.2 continuous receive mode continuous receive mode is enabled when the c_mode bit of register 0x00 is set to 0 and the d_mode bit of register 0x02 is set to 0. in continuous receive mode, the receive fifo and automatic packet features except
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 15 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 address detection are disabled. the TRC104 host microcontroller must handle functions such as dc-balanced data scrambling and crc generation for continuous receive mode. note that a valid sender (local device) address is required for address detection and proper continuous receive mode operation. this address is configured by writing the address byte(s) into configuration registers 0x0e - 0x12, according to the address length specified by the addr_len bits in configuration register 0x08. the sender address is written least significant byte first, starting in register 0x0e. the host microcontroller must be powerful enough to handle the chosen serial data rate (250 kb/s or 1 mb/s) in addition to the other functions required for the end application. data is read from the sdat pin. to assist in data recovery, a bit clock is available on the sclk pin. the state of the sdat pin is read on the rising edge of sclk to recover the demodulated data. figure 12 and table 11 show the timing for reading data from sdat.  =  >  "      "  /   " 2     +   -    )   # /            /  /   b  %     figure 12 item description min typ max unit t1 mode to sclk time 250 s t2 bit delay time 15 ns sclk cycle time for 1 mb/s 1 t3 sclk cycle time for 250 kb/s 4 s table 11 5.2 burst packet modes burst packet mode is enabled when the d_mode bit of register 0x02 is set to 1. burst packet mode handles automatic packet features such as preamble generation, address insertion and filtering, dc-balanced data scrambling/descrambling, and crc generation and error detection. in burst packet mode the fifo is enabled and used for transmitting or receiving packets. in burst packet mode, the host microcontroller does not have the heavy overhead of bit, byte and packet processing as is the case with the continuous mode. 5.2.1 burst transmit mode burst transmit mode is enabled when the c_mode bit of configuration register 0x00 is set to 1 and the d_mode bit of register 0x02 is set to 1. in burst transmit mode, data is written to the TRC104 before being transmitted, most significant bit or each byte first. the automatic packet features listed in section 5.2 are available in burst mode. once the fifo is loaded, three additional dummy bits (any value) are clocked in. the mode pin is then de-asserted (low) and the packet transmission starts. at the end of the transmission the int flag is asserted. the int flag resets when the TRC104 is placed in another mode. figure 13 and table 12 show the serial port timing parameters for burst transmit mode. in burst mode, the fifo length is set to match the number of payload data bytes. when transmitting a packet , the destination address may obtained from one of two sources, either automatically from configuration registers
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 16 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 0x09 - 0x0d, or by writing it directly before the payload data bytes. the source for the destination address is chosen by the desadd_ref bit in configuration register 0x05. when writing the destination address directly, the most significant address byte is written first. sender (local device) addressing is optional. if used, the sender address is automatically loaded from configuration registers 0x0e - 0x12. the destination address can be from one to five bytes in length. if used, the sender address must be the same length as the destination address.   !  ( '   " !   5  ! /   ! (  / )     " 2    )   # /            /  /   /  /  /  figure 13 item description min typ max unit t1 mode to 1 st bit time 20 s t2 sclk cycle time 500 ns t3 setup time 15 ns t4 hold time 15 ns t5 address & payload data 8 296 bits t6 dummy bit writes 3 bits table 12 5.2.2 burst receive mode burst receive mode is enabled when the c_mode bit of register 0x00 is set to 0 and the d_mode bit of register 0x02 is set to 1. in burst receive mode, the fifo is loaded with the payload data part of a received packet. the automatic packet features listed in section 5.2 are available for use in burst receive mode. using these features frees up the host microcontroller to perform other tasks. as a packet is received, the TRC104 uses the preamble to lock to the incoming data rate and then determines if the packet is for it by testing the address following the preamble for a match to its own device address. if the addresses match, the TRC104 receives the remainder of the packet, including the sender address if present, the payload data and crc. the TRC104 then performs a crc calculation and compares the result with the received crc value. if the crc ? s match, the int flag is asserted according to the interrupt polarity as configured by the lvlint bit of configuration register 0x17. otherwise, the packet is discarded unless this default is overridden. upon assertion of the int flag, the host microcontroller clocks out and discards two dummy bits, and then clocks out received bits, checking the int flag after each group of 8 bits. the int flag will de-assert when the next-to-last payload data byte in the fifo is read. the host microcontroller then completes the read transaction by clocking out the last fifo byte followed by clocking out and discarding three more dummy bits. when the int flag is asserted the host microcontroller should read the data quickly so as not to delay listening for the next packet. if the data has not been completely read when the next packet is transmitted, reception will not occur and the transmitted data will be missed. figure 14 and table 13 show the serial port timing parameters for burst receive mode.
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 17 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09   !  ( '   " !   5  ! /     +   -    " 2    )   # /            /  /   /  /  /  /  figure 14 item description min typ max unit t1 mode to int time 0 ns t2 int to 1 st bit 0 ns t3 sclk cycle time 500 ns t4 dummy bit reads 2 bits t5 address & payload data except last byte 0 288 bits t6 last payload data byte 8 bits t7 dummy bit reads 3 bits table 13 6 burst packet mode configuration in burst packet mode, the following packet features are available : ? configurable fifo length up to 32 bytes ? configurable preamble length up to 16 bits ? configurable address filtering ? configurable sender/destination address length up to 5 bytes ? configurable sender (local device) address ? configurable destination address ? configurable dc-balanced data scrambling/descrambling ? configurable crc generation and error detection the configuration details of these features are covered below in sections 6.1 through 6.4. figure 15 shows the general format of a TRC104 packet.  !  ( ) 3 '     "   >  5   /   /    (   "  2 2 !  / / c !  0   !  2 d    "  =  5 .   /  ( . ' " ( 2   (  (    "  : %  5 .   /            #          8  2     #    ( + ,     " ! ) (     2  ! 2 2 !  / / c " $   "  ( ' d    "  =  5 .   / 0 1    & ,  - 2  1   ,   -     - -   , ,   & ,  3   1   ,        # 1   ,  1   -  ,         - -   , , .  / 1        & ,  3   %        '       -    1    '    -  -    3 '  , .  figure 15
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 18 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 6.1 fifo configuration the transmit/receive fifo length is set with the fifo_len bits in configuration register 0x05. the length can be set from one to 32 bytes. the fifo must be long enough to hold all payload data bytes. all TRC104 radios in a network must use the same fifo length . the fifo must be completely filled on every transmission. padding bytes (user selected value) are used to fill up the transmit fifo when payload data bytes do not completely fill it. 6.2 preamble configuration the preamble is a 1-0-1-0 ? sequence of bits sent at the beginning of a packet to allow the receiver data and clock recovery function to lock to the packet bit stream. the preamble is discarded by the receiver. the preamble length is programmable up to 16 bits. the length is configurable in 4-bit segments by setting the pream_len bits in configuration register 0x06. a 16-bit preamble is recommended for most applications. 6.3 addressing in burst packet mode, the destination address allows a TRC104 to determine if a packet is for it. the sender address can be optionally added to a packet, and is especially useful in networks consisting of more than two radios. the length of the destination addresses is configurable from 1 to 5 bytes. the sender address length is automatically set to the same length. all TRC104 radios in a network must use the same address length . the destination address is stripped off by the receiver and is not included in the read out from the fifo. the sender address may be output before the payload data in a received packet. this feature is enabled through configuration register 0x05, bits 7..6. to avoid random noise causing frequent false detections of a destination address, an address length of at least two bytes is recommended, and three to five bytes is preferred. 6.3.1 sender (local device) address the sender (local device) address is configured by writing the address byte(s) into configuration registers 0x0e - 0x12, according to the address length specified by the addr_len bits in configuration register 0x08. the sender address is written least significant byte first, starting in register 0x0e. the sender address is automatically added to a transmit packet by setting the devadd_en bit to 0 in configuration register 0x05. the sender address may be optionally read out before the payload data in a received packet. this is useful when receiving messages from multiple sources. this option is enabled by setting the saddr_pos bit to 0 in configuration register 0x05. 6.3.2 destination address the destination address is the first field sent after the preamble. if the destination address in a received packet does not match the address stored in the sender (local device) address configuration registers, the packet is discarded and the host microcontroller does not receive an int flag. the destination address is configured by writing the address byte(s) into configuration registers 0x09 - 0x0d, according to the address length specified by the addr_len bits in configuration register 0x08. the destination address is written least significant byte first, starting in register 0x09. when transmitting a packet, the destination address may obtained from one of two sources, either automatically from configuration registers 0x09 - 0x0d, or by writing it directly in the packet destination address field. the source for the destination address is chosen by the desadd_ref bit in configuration register 0x05.
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 19 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 6.4 dc-balanced scrambling the TRC104 is equipped with a scrambling/descrambling function to improve the dc-balance of a transmitted bit stream. the implementation is show in figure 16. this function is enabled by setting the scr_en bit in configuration register 0x02 to 1. the scrambling/descramble function is only available in burst packet mode.        :   >                    (  (   + ! ( ) 3 '   #   ) $ '  )    (   "   b                , 1      #  ,   ,  ,       3         % 1  , %    3    #  4 " $  3     %   # 5  %   % &          5          figure 16 6.4 crc error detection the crc error detection option is enabled by setting the crc_en bit in configuration register 0x02 to 1. a two- byte crc is automatically calculated on the payload field and appended to the end of the transmitted packet. on the receive side, the crc is recalculated on the payload field and compared to the received crc. if the crc match fails, the received packet is handled according to the setting of the crc_err bit in configuration register 0x02. otherwise, a good crc match generates a flag on the int pin, and the received crc is discarded. the polarity of the int flag is configured by the lvlint bit in configuration register 0x17. there is no interrupt generation for a failed packet. the crc calculation is based on the ccitt polynomial as shown in figure 17.              =    %       =                     ) $ '  )    (   "    >      %     =            , 1      #  ,   ,  ,       3         % 1  $  $  %   % &      figure 17 7 serial interface the serial interface provides two-wire serial communication between the TRC104 and its host microcontroller, as shown in figure 18. all fifo and configuration parameters are accessible through the serial interface. the fifo and configuration data pass through the bidirectional sdat pin with host microcontroller clocking on the sclk pin. the cs pin state selects whether the fifo (burst packet mode only) or the internal configuration registers are accessed.
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 20 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09      < " /    + ! " + "   ! " ' '  !                                  + ! " + "   ! " ' '  !    #  ( '   "    +   "  / figure 18 the serial interface is enabled for read/write transactions with the configuration registers by holding the cs pin high. the cs pin must remain high during the transmission of both the address and data bytes or the data will be corrupted. between each configuration register read/write transaction the serial interface must be reset by pulling the cs pin low . pulling cs high again re-enables the serial interface for a new configuration register read/write transaction. back-to-back configuration register read/writes are not possible as the configuration register address is not automatically incremented. refer to sections 7.1 for additional configuration register access details. the serial interface is enabled for read/write transactions with the fifo by holding the cs pin low. data and clocking are handled through the sdat and sclk pins, respectively. 7.1 configuration registers access the most significant bit of each byte is sent first. the rising sclk edge is used to sample the received bit, and the falling sclk edge shifts the data inside the shift register. the most significant bit of the first byte specifies a read or write command followed by seven address bits. the following byte contains the read/write data. two bytes are required for each configuration register transaction. the first byte contains the r/w bit (0 = read, 1 = write) and the 7-bit configuration register address. the second byte contains the configuration value to be written or read from the address specified in the first byte. figure 19 and table 14 show the timing for a configuration read sequence from the TRC104.      =  >  b    1 e  "  7  #  ! (   "   5 .      ( 2   )   # = > /  /          /  /  /  /  figure 19
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 21 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 item description min typ max unit t1 cs to 1 st bit time 20 s t2 sclk cycle time 200 ns t3 setup time 10 ns t4 hold time 10 ns t5 data bit hold time 20 ns t6 last bit to cs time 50 ns table 14 figure 20 and table 5 show the timing for a configuration write sequence to the TRC104.      =  >  b    1 e  "  7  #  ! (   "   5 .    e !      )   # = > /          /  /  /  /  figure 20 item description min typ max unit t1 cs to 1 st bit time 20 s t2 sclk cycle time 200 ns t3 setup time 10 ns t4 hold time 10 ns t5 last bit to cs time 50 ns table 15 7.2 transmit/receive fifo access serial data is sent or received through the fifo according to the TRC104 mode of operation. if the TRC104 is configured for burst receive mode, a fifo read transaction is implemented on the serial interface. if the TRC104 is configured for burst transmit mode, a fifo write transaction is implemented on the serial interface. the cs pin must be held low during fifo transactions. if the cs is allowed to go high, the TRC104 will interpret the data as a register configuration transaction and possibly corrupt the device configuration. see sections 5.2.1 and 5.2.2 for details on burst transmit mode and burst receive mode using the fifo. 8 configuration registers the TRC104 ? s user configuration registers are mapped in the address range of 0x00 through 0x18. sections 8.1 through 8.17 below provide the details for each configuration register. power-up default settings for the configuration register bit and byte patterns are shown in bold.
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 22 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 8.1 t/r mode and channel frequency control 0x00 [default 0x28] address name bits r/w description c_mode 7 r/w chip mode: 0 receive mode 1 transmit mode 0x00 ch_num 6..0 r/w channel frequency: f rf = 2400 + (ch_num ) in mhz, 1 ch_num 127 [default is 00101000b] table 16 8.2 transmitter power and crystal frequency control 0x01 [default 0x03] address name bits r/w description - 7..5 r/w reserved, always set to 000b pwr 4..3 r/w transmitter output power: 00 -20 dbm 01 -10 dbm 10 -5 dbm 11 0 dbm 0x01 fxtal 2..0 r/w crystal frequency selection: 000 4 mhz 001 8 mhz 010 12 mhz 011 16 mhz 100 20 mhz table 17
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 23 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 8.3 data function control 0x02 [default 0x78] address name bits r/w description - 7 r/w reserved, always set to 0b d_mode 6 r/w data mode select: 0 continuous mode 1 burst mode dr 5 r/w data rate select: 0 250 kb/s 1 1 mb/s ciph_en 4 r/w dc-balanced data scrambling enable bit (burst mode only): 0 disable data scrambling 1 enable data scrambling scramble polynomial = x 7 + x 4 + 1 crc_en 3 r/w crc-16 enable bit (burst mode only): 0 disable crc 1 enable crc crc polynomial = x 16 + x 12 + x 5 + 1 2..1 r/w reserved, always set to 0b 0x02 crc_err 0 r/w controls clearing the fifo in burst receive mode if the crc fails for the current packet 0 discard on crc error 1 do not discard on crc error table 18 8.4 rssi function control 0x03 [default 0x87] address name bits r/w description - 7..5 r/w reserved, always set to 000b rssia_rfsh 4 r/w analog rssi refresh control bit (continuous mode only): 0 do not refresh rssi value 1 refresh rssi value see section 3.7 for details of rssi operation 0x03 rssia_thr 3..0 r/w drssi threshold: when the rssia level exceeds rssia_thr, the rssid pin is set high default is 0111b table 19
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 24 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 8.5 rssi value 0x04 [default 0x20] address name bits r/w description - 7..6 r/w reserved, always set to 00b agc_en 5 r/w automatic gain control enable (continuous mode only): 0 disable agc 1 enable agc agc should be left enabled for most applications rssi_g 4 r/w rssi gain mode selection (continuous mode only): 0 high gain mode 1 low gain mode 0x04 rssi_val 3..0 r/w 4-bit digital value of rssi level after a/d conversion. table 20 8.6 data format control 0x05 [default 0x0f] address name bits r/w description devadd_en 7 r/w insert sender (local device) address in transmit packet (burst mode only): 0 insert sender address 1 do not insert sender address devadd_pos 6 r/w output received sender address before payload data on receive (burst mode only): 0 output sender address 1 do not output sender address desadd_ref 5 r/w destination address reference (burst mode only): 0 registers 0x09 - 0x0d 1 provided by the host microcontroller before data is written to fifo 0x05 fifo_len 4..0 r/w fifo length (number of payload data bytes, burst mode only): 00000 1 byte 00001 2 bytes ? 11111 32 bytes payload data bytes = fifo_len + 1 where 0 fifo_len 31 default is 01111b table 21
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 25 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 8.7 preamble control 0x06 [default 0x30, override to 0xb0] address name bits r/w description - 7..6 r/w reserved, always set to 10b pream_len 5..4 r/w preamble length (burst mode only): 00 4 bits 01 8 bits 10 12 bits 11 16 bits 0x06 - 3..0 r/w reserved, always set to 0000b table 22 8.8 transmitter rise/fall time control 0x07 [default 0x21] address name bits r/w description - 7..6 r/w reserved, always set to 00b pa_ru 5..4 r/w power amplifier ramp-up time (burst mode only), reduces transmit bandwidth 00 0 s 01 10 s 10 20 s 11 30 s pa_rd 3..2 r/w power amplifier ramp-down time (burst mode only), reduces transmit bandwidth 00 5 s 01 10 s 10 20 s 11 30 s 0x07 pa_on 1..0 r/w power amplifier turn-on delay time (burst mode only) 00 0 s 01 50 s 10 100 s 11 150 s table 23
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 26 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 8.9 address length control 0x08 [default 0x03] addr name bits r/w description - 7..3 r/w reserved, always set to 00000b 0x08 addr_len 2..0 r/w address length of device and destination address (burst mode only): 000 invalid, do not use 001 1 byte 010 2 bytes ... 101 5 bytes 110 - 111 invalid, do not use default is 011b table 24 8.10 destination address 0x09 [default 0x00] address name bits r/w description 0x09 dest_addr1 7..0 r/w destination address 1 table 25 0x0a [default 0x00] address name bits r/w description 0x0a dest_addr2 7..0 r/w destination address 2 table 26 0x0b [default 0x00] address name bits r/w description 0x0b dest_addr3 7..0 r/w destination address 3 table 27 0x0c [default 0x00h] address name bits r/w description 0x0c dest_addr4 7..0 r/w destination address 4 table 28 0x0d [default 0x00h] address name bits r/w description 0x0d dest_addr5 7..0 r/w destination address 5 table 29
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 27 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 8.11 sender (local device) address 0x0e [default 0x00] address name bits r/w description 0x0e dev_addr1 7..0 r/w local device address 1 table 30 0x0f [default 0x00] address name bits r/w description 0x0f dev_addr2 7..0 r/w local device address 2 table 31 0x10 [default 0x00] address name bits r/w description 0x10 dev_addr3 7..0 r/w local device address 3 table 32 0x11 [default 0x00h] address name bits r/w description 0x11 dev_addr4 7..0 r/w local device address 4 table 33 0x12 [default 0x00h] address name bits r/w description 0x12 dev_addr5 7..0 r/w local device address 5 table 34 8.12 reserved do not write to this configuration register address 0x13. it should retain its power-on default value. 8.13 pll turn-on control 0x14 [default 0x00] address name bits r/w description 0x14 pll_on 7..0 r/w pll pre start time: 0000000 no pre turn-on time pll pre start time = pll_on * 20 s, where 0 < pll_on < 255 table 35
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 28 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 8.14 analog turn-on control 0x15 [default 0xb4] address name bits r/w description - 7..6 r/w reserved, always set to 10b ana_on 5..4 r/w analog circuitry turn-on time (burst mode only): 00 0 s 01 10 s 10 20 s 11 40 s note: default value is suitable for most applications 0x15 - 3..0 r/w reserved, always set to 0100b table 36 8.15 reserved do not write to configuration register address 0x16. it should retain its power-on default value. 8.16 option control 0x17 ? [default 22h] address name bits r/w description - 7..2 r/w reserved, always set to 0010 00b lvlint 1 r/w active edge for int pin (burst mode only): 0 falling edge active (active low) 1 rising edge active (active high) 0x17 lvldrssi 0 r/w active edge for drssi pin (continuous mode only): 0 falling edge active (active low) 1 rising edge active (active high) table 37 8.17 reserved do not write to configuration registers addresses 0x18 and higher, except as discussed in section 8.18. 8.18 default overrides for enhanced performance TRC104 operation can be enhanced by overriding several default values in register addresses shown in table 38. these override values should be written before the TRC104 is first placed in a transmit or receive mode. register address power-on default default override 0x06 0x30 0xb0 0x2c 0x19 0x18 0x39 0xbb 0xb9 0x4f 0x26 0x66 0x77 0x7c 0x5c table 38
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 29 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 9 configuration example this example details the configuration of a TRC104 application with the following specifications: radios in system base and remote operating frequency and power 2408 mhz, 0 dbm rf data rate 1 mb/s address length 2 bytes base address 0xaa01 remote address 0xaa02 destination address auto-insert sender address option enabled, auto-insert sender address output on receive enabled payload data length 4 bytes dc-balanced data scrambling enabled crc error detection enabled packet error handling discard pll pre-start enabled power amplifier ramp up/down timing 10/5 s int flag assertion state high host serial clocking rate 1 mb/s 9.1 burst packet mode initialization the following table of 16-bit register configuration constants are used to initialize and control the radios. the most significant bit of the first byte is the configuration write bit. the next seven bits specify the register address. the second byte specifies the register configuration. label hex constant configuration register detail ch_8_rx 0x8008 t/r and channel control 0x00: rx, 2408 mhz ch_8_tx 0x8088 t/r and channel control 0x00: tx, 2408 mhz tx_pwr 0x811b tx power and crystal frequency control 0x01: 0 dbm, 16 mhz fifo_sz 0x8503 data format control 0x05: auto-insert destination in tx, auto-insert sender in tx, output sender with rx, 4 byte fifo pre_ctl 0x86b0 preamble control 0x06: default override for enhanced performance addr_len 0x8802 address length control 0x08: 2-byte addressing bs_snd_lo 0x8e01 base sender (local device) low address 0x0e: base low address byte bs_snd_hi 0x8faa base sender (local device) high address 0x0f: base high address byte bs_dst_lo 0x8902 base destination low address 0x09: remote low address byte bs_dst_hi 0x8aaa base destination high address 0x0a: remote high address byte rm_snd_lo 0x8e02 remote sender (local device) low address 0x0e: remote low address byte rm_snd_hi 0x8faa remote sender (local device) high address 0x0f: remote high address byte rm_dst_lo 0x8901 remote destination low address 0x09: base low address byte rm_dst_hi 0x8aaa remote destination high address 0x0a: base high address byte pll_del 0x9401 pll turn-on control address 0x14: 20 s delay ovr_2c 0xac18 register 0x2c: default override for enhanced performance ovr_39 0xb9b9 register 0x39: default override for enhanced performance ovr_4f 0xcf66 register 0x4f: default override for enhanced performance ovr_77 0xf75c register 0x77: default override for enhanced performance table 39
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 30 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 to support the specified configuration, 14 of the configuration register default values must be initialized to new values. only two calculations are required to determine the configuration register constants. the first calculation is determining the value of ch_num in control register 0x00. the calculation is simple: f rf = 2400 + ch_num, 1 ch_num 127, in mhz or ch_num = f rf - 2400 for 2408 mhz channel operation: ch_num = 2408 - 2400 = 8 the second calculation determines the best pll pre-start delay time. ideally the pll turn-on delay time as shown in figure 5 plus the 170 s pll lock time should equal the burst transmit mode fifo write time. referring to figure 13 and table 12, the fifo write time for a 1 mb/s serial clock rate is: 20 s mode to fifo write 32 s to write 4 bytes 3 s to write the final three dummy bits 55 s total given the short fifo length and the 1 mb/s serial write rate, the fifo write time is shorter than the pll lock time, so no delay is necessary. a minimum delay of 20 s must be set in the pll turn-on control register to enable pll pre-start function. using the 20 s delay value provides a net pre-start time of: 55 - 20 = 35 s, shorting the transmit turn on latency from to 170 - 35 = 135 s if the fifo was larger and/or the serial rate slower, the pll pre-start function would provide a bigger benefit. 1. to initialize each TRC104, enter sleep mode by setting control line pmode to 0 and control line mode to 1. hold this state for 100 ms. 2. enter configuration mode by setting control line mode to 0, and control lines cs and pmode to 1. hold for 120 ms to allow the radio to reset, which loads the power-on default values in all configuration registers. 3. following the 120 ms reset period and holding the control lines in configuration mode, write the ch_8_rx configuration constant 0x8008 to the TRC104 (base or remote). set the cs control line to 0 for at least 5 s, and then set the cs control line back to 1. 4. for the base TRC104, write the following additional configuration constants to the radio, cycling the cs control line to 0 for at least 5 s between each write: tx_pwr 0x811b fifo_sz 0x8503 pre_ctl 0x86b0 addr_len 0x8802 bs_snd_lo 0x8e01 bs_snd_hi 0x8faa bs_dst_lo 0x8902 bs_dst_hi 0x8aaa pll_del 0x9401 ovr_2c 0xac18
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 31 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 ovr_39 0xb9b9 ovr_4f 0xcf66 ovr_77 0xf75c 5. for the remote TRC104, write the following additional configuration constants to the radio, cycling the cs control line to 0 for at least 5 s between each write: tx_pwr 0x811b fifo_sz 0x8503 pre_ctl 0x86b0 addr_len 0x8802 rm_snd_lo 0x8e02 rm_snd_hi 0x8faa rm_dst_lo 0x8901 rm_dst_hi 0x8aaa pll_del 0x9401 ovr_2c 0xac18 ovr_39 0xb9b9 ovr_4f 0xcf66 ovr_77 0xf75c 6. enter standby mode by setting control line pmode to 1, and control lines cs and mode to 0. this mode, stop mode, configuration mode, transmit load/receive mode or burst transmit mode can be used without re-initialization. re-initialization is always required following sleep mode or power-up. 9.2 burst packet transmission 1. to transmit, enter configuration mode by setting control line mode to 0, and control lines cs and pmode to 1. 2. write the ch_8_tx configuration register constant 0x8088 to the TRC104. then set the cs control line to 0 for at least 5 s. 3. with cs still 0, set control lines pmode and mode to 1 to enter transmit load/receive mode. 4. the host microcontroller will clock the transmit bits into of the fifo. 5. after a 20 s delay, begin clocking transmit bits into the fifo, loading the four payload data bytes. 6. count each bit input to the transmit fifo until the fifo is completely filled (4 bytes = 32 bits). 7. then add three additional clock cycles. the bits on these three clock cycles can be any value. internally the radio replaces the placeholder bytes with the destination and sender addresses. 8. set the mode control line to 0. this initiates the rf transmission. 9. the int flag is asserted when the rf transmission is complete. 10. placing the TRC104 in another operating mode, such as transmit load/receive mode, will reset the int flag. 9.3 burst packet reception 1. to receive, enter configuration mode by setting control line mode to 0, and lines cs and pmode to 1. 2. write the ch_8_rx configuration register constant 0x8008 to the TRC104. then set the cs control line to 0 for at least 5 s. 3. with cs still 0, set control lines pmode and mode to 1 to enter transmit load/receive mode. 4. in receive, the int flag is asserted to indicate there are received bits in the fifo.
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 32 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 5. the host microcontroller will clock the received bits out of the fifo. 6. clocking bits out of the receive fifo begins with two dummy clock cycles. the bits on these two clock cycles are discarded. 7. the first bit from the fifo is output on the third clock. after clocking out a group of eight bits, check the int flag line. the flag will reset after the next-to-last byte is clocked from the fifo. at this point clock the final eight bits from the fifo. 8. all bytes have now been clocked from the fifo. in this example, the two sender address bytes and the four payload data bytes will be output. 9. three more clock cycles must follow the final fifo byte in order to reset the TRC104 to receive the next packet. the bits on these three clock cycles are discarded. 10 burst packet mode serial port message examples sections 10.1 through 10.4 below provide examples of burst packet mode serial port transmit and receive messages. in each example the payload data bytes consist of the following ascii string: (stx)TRC104 range test demo(etx) this 24 byte string in hexadecimal is: 02 54 52 43 31 30 34 20 52 61 6e 67 65 20 54 65 73 74 20 44 65 6d 6f 03 the fifo length is set to 24 bytes, or 0x18. the two-byte destination address used is 0xaa02, and the sender (local device) address used is 0xaa01. where sender address transmission is enabled, the TRC104 is also configured to output the sender address in front of the received payload data bytes (see section 8.6, table 21). 10.1 destination address from configuration registers, no sender address transmit hex message: 02 54 52 43 31 30 34 20 52 61 6e 67 65 20 54 65 73 74 20 44 65 6d 6f 03 receive hex message: 02 54 52 43 31 30 34 20 52 61 6e 67 65 20 54 65 73 74 20 44 65 6d 6f 03 10.2 destination address written by host, no sender address transmit hex message: aa 02 02 54 52 43 31 30 34 20 52 61 6e 67 65 20 54 65 73 74 20 44 65 6d 6f 03 receive hex message: 02 54 52 43 31 30 34 20 52 61 6e 67 65 20 54 65 73 74 20 44 65 6d 6f 03 10.3 destination and sender addresses from configuration registers transmit hex message: 02 54 52 43 31 30 34 20 52 61 6e 67 65 20 54 65 73 74 20 44 65 6d 6f 03 receive hex message: aa 01 02 54 52 43 31 30 34 20 52 61 6e 67 65 20 54 65 73 74 20 44 65 6d 6f 03 10.4 destination address written by host, sender address from configuration register transmit hex message: aa 02 02 54 52 43 31 30 34 20 52 61 6e 67 65 20 54 65 73 74 20 44 65 6d 6f 03 receive hex message: aa 01 02 54 52 43 31 30 34 20 52 61 6e 67 65 20 54 65 73 74 20 44 65 6d 6f 03
www.rfm.com e-mail: info@rfm.com technical support +1.800.704.6079 page 33 of 33 ?2009 by rf monolithics, inc. TRC104 - 08/13/09 11 package dimensions 5    
" $     5 "   " )       2      <  f   8    ) )  &    ( + , ( #     )   /  "  /  figure 21 millimeters inches dimension min nom max min nom max a 3.900 4.000 4.100 0.154 0.157 0.161 b 3.900 4.000 4.100 0.154 0.157 0.161 c 2.550 2.650 2.750 0.100 0.104 0.108 d 2.550 2.650 2.750 0.100 0.104 0.108 e - 0.500 - - 0.020 - f - 2.540 - - 0.100 - g 0.350 0.400 0.550 0.014 0.016 0.022 h 0.180 0.230 0.280 0.007 0.009 0.011 i 0.800 0.850 1.000 0.028 0.030 0.031 j 0.195 0.203 0.211 0.008 0.008 0.008 k 0.000 0.025 0.050 0.000 0.001 0.002 table 40


▲Up To Search▲   

 
Price & Availability of TRC104

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X